package com.useeinfo.oa.modules.logger.entity;

import com.alibaba.fastjson.JSONObject;
import com.useeinfo.framework.extend.entity.SuperClassEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 登录日志
 */
@Entity
@Table(name = "log_login")
public class LoginLog extends SuperClassEntity<LoginLog> {

    /*登录ip*/
    private String ip;

    /*登录人*/
    private String name;

    /*登录类型：登录、登出*/
    private String type;

    @Override
    public JSONObject toJSONObject() {
        return null;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
